package com.lhb.user.service;

import com.lhb.user.model.ModifyEmailModel;
import com.lhb.user.model.ModifyPasswordModel;
import com.lhb.user.model.Passenger;

import java.util.List;

public interface UserInfoService {

    void modifyPassword(ModifyPasswordModel modifyPasswordModel) throws Exception;

    void modifyEmail(ModifyEmailModel modifyEmailModel) throws Exception;

    Passenger addPassenger(Passenger passenger);

    List<Passenger> getPassenger();

    void deletePassenger(Long id);
}
